package com.tn.user.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 调用server-basic的feign层
 * @author tn
 * @version 1
 * @ClassName ServerBasicFeign
 * @description rpc Server
 * @date 2020/8/6 19:33
 */
@FeignClient(name = "server-basic")
public interface ServerBasicFeign {
    @GetMapping(value = "openFeign/test01")
    String test01();


    @GetMapping(value = "ribbon/test01")
    String test02();
}
